﻿<UserControl x:Class="ViCode_LeVi.Controls.VMTabHeader"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     xmlns:xcdg="clr-namespace:Xceed.Wpf.Controls;assembly=Xceed.Wpf.Controls"
             xmlns:vmcontrol="clr-namespace:ViCode_LeVi.Controls">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="6*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid Grid.Column="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="2*"/>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <vmcontrol:VMTextBlockExt_Header Grid.Column="0" TextPath="UIText_CompanyName" Margin="2" VerticalAlignment="Center"/>
            <vmcontrol:VMTextBox  Grid.Column="1" Text="{Binding CompanyName}" Margin="2" VerticalAlignment="Center"/>
            <vmcontrol:VMTextBlockExt_Header Grid.Column="2" TextPath="UIText_Name" Margin="2" VerticalAlignment="Center"/>
            <vmcontrol:VMTextBox  Grid.Column="3" Text="{Binding Name}" Margin="2" VerticalAlignment="Center"/>
            <vmcontrol:VMTextBlockExt_Header Grid.Column="4" TextPath="UIText_Author" Margin="2" VerticalAlignment="Center"/>
            <vmcontrol:VMTextBox  Grid.Column="5" Text="{Binding Author}" Margin="2" VerticalAlignment="Center"/>
            <vmcontrol:VMTextBlockExt_Header Grid.Column="6" TextPath="UIText_Comment" Margin="2" VerticalAlignment="Center"/>
            <vmcontrol:VMTextBox  Grid.Column="7" Text="{Binding Comment}" Margin="2" VerticalAlignment="Center"/>

            <vmcontrol:VMTextBlockExt_Header Grid.Column="8" VerticalAlignment="Center" HorizontalAlignment="Right" TextPath="UIText_StartedDate" Margin="2"/>
            <xcdg:DatePicker Name="DatePicker_CreatedDate"  Grid.Column="9" VerticalAlignment="Center" HorizontalAlignment="Left" SelectedDate="{Binding StartedDate_Date, Mode = TwoWay}" Margin="2"/>
        </Grid>
    </Grid>
   
</UserControl>
